﻿

namespace MvvmFx.Samples.HowTos.ViewModelHelper.ViewModels
{
    public class TabControlSampleViewModel : SampleViewModel
    {
        #region properties

        public override string Title
        {
            get { return "TabControl Sample"; }
        }

        public override string Description
        {
            get
            {
                return "This sample illustrates how the ViewModelHelper's attached "
                    + "properties can be used to provide enhanced data binding "
                    + "support to Silverlight applications.\n\n"
                    + "The TabControl below uses the ViewModelHelper.ItemsSource "
                    + "attached property to proxy the collection and enable direct "
                    + "ViewModel binding by using the supporting HeaderedDataTemplate "
                    + "as well as the ViewModelHelper.SelectedValue attached property "
                    + "to synchronize selection back to the backing ViewModel.";
            }
        }

        #endregion

    }  // class TabControlSampleViewModel

}  // namespace MvvmFx.Samples.HowTos.ViewModelHelper.ViewModels
